package com.pmcc.cj.repository;

import com.pmcc.cj.entity.CjOrderIndex;
import com.pmcc.cj.entity.CjRobotTask;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by tomas on 2020/9/22.
 */
public interface CjRobotTaskRepository extends JpaRepository<CjRobotTask,String> {
    List<CjRobotTask> findByFettleOrderByCreateTimeDesc(Integer fettle);
    Page<CjRobotTask> findAll(Specification<CjRobotTask> spec, Pageable var1);
}
